package top.wyloop.fasthome.module.system.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import top.wyloop.fasthome.module.system.model.entity.User;

/**
 * @author Wyatt6
 * @date 2025/5/10
 */
@Repository
public interface UserRepository extends JpaRepository<User, Long> {
    User findByUsername(String username);

    User findByNickname(String nickname);
}
